package init

import (
	"day2zy/config"
	"github.com/spf13/viper"
)

func InitAppConf() {
	viper.SetConfigFile("dev.yaml")
	viper.ReadInConfig()
	viper.Unmarshal(&config.AppConf)
}
